X_LIBS		+= libxlibc.a libwm.a libSDL2.a \
			libzlib.a libpng.a libjpeg.a \
			
X_LIBS		+= libwebp.a libtiff.a libSDL2_image.a			 

NAME		:= showimage.xapp
SRC			+= main.c

define CUSTOM_TARGET_CMD
echo [APP] $@; \
$(LD) $(X_LDFLAGS) $(X_OBJS) -o $@ $(patsubst %, -L%, $(X_LIBDIRS)) \
	--start-group $(patsubst %, -l:%, $(X_LIBS)) --end-group
endef
